package com.zd.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zd.entity.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author TSP
 * @since 2021-08-22
 */
public interface AdminMapper extends BaseMapper<Admin> {

    /**
     * 获取admin分页数据
     *
     * @param page
     * @return
     */
    IPage<Admin> getAllAdminByPage(Page<Admin> page);
}
